package cn.shu.bean;

/**
 * Created by 76062 on 2017/10/11.
 */ //呼叫sos的人
public class SosMan {
    private String id;
    private String name;
    private Double[] coords;
    private String sosTime;
    private String phone;//手机号

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double[] getCoords() {
        return coords;
    }

    public void setCoords(Double[] coords) {
        this.coords = coords;
    }

    public String getSosTime() {
        return sosTime;
    }

    public void setSosTime(String sosTime) {
        this.sosTime = sosTime;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public SosMan() {
    }

    public SosMan(String id, String name, Double[] coords, String sosTime) {
        this.id = id;
        this.name = name;
        this.coords = coords;
        this.sosTime = sosTime;
    }

    @Override
    public boolean equals(Object obj) {
        SosMan user = (SosMan) obj;
        if (!id.equals(user.id)) {
            return false;
        }
        return true;
    }
}
